package com.addplus.townmall.server.api.model.town;


import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城会员消息提醒总开关
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("member_message_switch")
public class MemberMessageSwitch extends BaseRestModel {

    /**
     * 会员主键id
     */
    @TableField("member_id")
    private Integer memberId;

    /**
     * 消息开关(0:关 1:开)
     */
    @TableField("message_switch")
    private Integer messageSwitch;
}
